package pojo;

public class PageViewCount {
    private String url;
    private Long timestamp;
    private Integer viewCount;

    public PageViewCount(){}

    public PageViewCount(String url, Long timestamp, Integer viewCount) {
        this.url = url;
        this.timestamp = timestamp;
        this.viewCount = viewCount;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    @Override
    public String toString() {
        return "UserViewCount{" +
                "userId='" + url + '\'' +
                ", timestam=" + timestamp +
                ", viewCount=" + viewCount +
                '}';
    }
}
